<template>
    <div>
       <h2>Home组件</h2>
        <p>{{msg}}</p>
        <div>
            <ul class="nav nav-tabs">
                    <router-link to="/home/news">News</router-link>
                    <router-link to="/home/message">Message</router-link>
            </ul>

            <div>
                <router-view></router-view>
            </div>
        </div>
    </div>
</template>

<script>
    export default {
        name: "Home",
        props:{
            msg:String
        }
    }
</script>

<style scoped>

</style>